package platform.user.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;
import platform.persistence.model.ModelBase;

/**
 * 用户信息
 *
 * @author roamer
 * @version V1.0
 * @date 2019-03-10 10:02
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Document(collection = "user")
public class User extends ModelBase {
    private static final long serialVersionUID = 1L;

    /** 用户名 */
    private String username;

    /** 密码 */
    private String password;
}
